package com.favorites;

import com.favorites.common.ParseFavorites;
import com.favorites.vo.TouTiaoBlog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.time.Year;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * Created by
 *
 * @author dw
 * @date 2018/04/02
 */
@EnableAutoConfiguration
@SpringBootApplication
public class FavoritesApplication {
    private static final Logger logger = LoggerFactory.getLogger(FavoritesApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(FavoritesApplication.class, args);
    }
}
